Release 10.1A: OpenEdge Development:
Java Open Clients
Passing OUTPUT parameters
Passing an
OUTPUTparameter requires several steps to provide a parameter as output from an application service procedure or user-defined function, then to get the value returned by the parameter.
![]()
To pass an
OUTPUTparameter:
- Create a variable of the correct Java data type to hold the returned value for the parameter (see the "Creating variables for parameters" section).
- Add the parameter to a
ParamArrayobject (see the "Setting up a parameter array" section).- Run the procedure or user-defined function (see the "Running procedures and user-defined functions" section).
- Get the value from the
ParamArray(see the "Getting OUTPUT parameter values" section).For example, to pass an
OUTPUTinteger parameter that does not support the Unknown value (?), you might do the following:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |